package com.jwds.datadiscover.app.powerplant.basic.dto;

import org.hilo.boot.core.ReqDto;
import javax.validation.constraints.*;

/**
 * <p>
 * 查询抽样数据，作为趋势图展示 请求类
 * </p>
 *
 * @author zollty
 * @since 2021-6-15
 */
public class GetSampleDataReq extends ReqDto {
    private static final long serialVersionUID = 24108197299900L;

    /**
     * 检测点位名称（对应OPC item）
     */
    @NotBlank
    private String itermName;

    /**
     * 起始时间
     */
    @NotBlank
    private String startTime;

    /**
     * 结束时间
     */
    @NotBlank
    private String endTime;

    public GetSampleDataReq() {
    }

    public String getItermName() {
        return itermName;
    }

    public void setItermName(String itermName) {
        this.itermName = itermName;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("GetSampleDataReq [");
        builder.append("itermName=").append(itermName);
        builder.append(", startTime=").append(startTime);
        builder.append(", endTime=").append(endTime);
        builder.append("]");
        return builder.toString();
    }

}
